package com.example.mapper;

import com.example.entity.UserDevice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserDeviceMapper {
    UserDevice findByUserIdAndDeviceId(@Param("userId") Long userId, @Param("deviceId") Long deviceId);
    int insert(UserDevice userDevice);
} 